package com.lau.common.enums;

import lombok.Getter;

@Getter
public enum ResultStatusEnum {

    FAILURE(400,"fail"),

    SUCCESS(200,"success"),

    LOGIN_OUT(300,"Login expired"),

    AUTHORITY_NO(500,"noAuth"),

    VALIDATE(700,"业务验证错误"),

    USERNOTEXIST(310,"用户不存在"),

    ERROR(900,"error");



    private final int code;
    private final String msg;

    ResultStatusEnum(int code,String msg) {
        this.code = code;
        this.msg = msg;
    }



}
